package org.example.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.example.pojo.DStaff;
import org.example.pojo.DStaffRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.example.pojo.select.DStaffRecordSelect;

import java.util.Map;

/**
* @author chenhongkai
* @description 针对表【d_staff_record(人员宿舍变动)】的数据库操作Mapper
* @createDate 2024-07-17 14:53:38
* @Entity org.example.pojo.DStaffRecord
*/
public interface DStaffRecordMapper extends BaseMapper<DStaffRecord> {

    IPage<Map> SelectAllStaffRecords(Page<DStaff> page, @Param("dStaffRecordSelect") DStaffRecordSelect dStaffRecordSelect);

    Integer SelectAllStaffRecordsTotal(@Param("dStaffRecordSelect") DStaffRecordSelect dStaffRecordSelect);
}




